package com.zc.im.service.im.group;

import com.zc.im.model.im.group.ZcImUnreadNum;

import java.util.List;

/**
 * Created by Administrator on 2017/7/12.
 */
public interface ImUnreadNumService {


    Integer saveOrUpdateUnreadNum(Integer userId, Integer targetObjId, String type, String sendUserType);


    Integer updateUnreadNumToDef(Integer userId, Integer targetObjId, String type);

    ZcImUnreadNum insertUnreadNum(Integer userId, Integer targetObjId, String type, String sendUserType);


    ZcImUnreadNum findUnreadNum(Integer userId, Integer targetObjId, String type);


    List<ZcImUnreadNum> queryUnreadNumByUser(Integer userId, String type, Integer unreadNum);


    List<ZcImUnreadNum> queryLatelyImNotInUnread(Integer userId, String type, Integer pageSize, Integer pageNum);
}
